added fs and buffer to string