Ignores special files.
Full implementation.