use file buffer remove fs deps