to capture the file ,but not the content