Added missing filename for FILE(APPEND statements.