fixing file names and things like that