Revert "Correctly prints files"

This reverts commit 852bd6fbcc20b55a7751752068225935acb11c91.