File operations and line breaks