Changes to exclude empty file