filenames: wait -> flag