Async file handling