Check that files are indeed files