Fixing file name bug