removed extra prints from file_handler