cleaning up file str