converted all sync methods in the file transport to async versions