is this method sync? otherwise im leanign towards converting to os.file if you're cool with it