Improves methods for extracting file contents