Try to fix up the file stuff