Fixed file_name and write-file behavior documentation