gure out the end of the file debug "File End: $file_end"; close($IN); # Return JSON to_json( { new_curr_pos => $file_end, interval => $conf->{interval},