program accepts all file types properly