Changed file read from sync to async.