Fixes the filename var