fixing more file stuff