extracting file io