fixing the filename stuff