handle all verbs for file requests