inspect file flags for processing