Optimized file extraction, must faster