fixed previous file handling