More direct file manipulation