Make fs_spec not depend on the order of files