fix #21: only consider files with allowed ext when reading files