Speed up the file sync. Needs some love later though.