file fields working