Remove fs function call.