The secretary was asked to file the past records.

Literal

Secretary [topic-は] past records [object-を] file [manner-ように] was-asked.

ファイルする is a suru-verb using the English loanword 'file.' ~ように頼まれた combines indirect command (~ように) with the passive of 頼む ('to ask'): 'was asked to do X.'