Revert "respect repo structure when saving files"

This reverts commit 6f66ef233313a4f396824c0c749d5f1c84f74101.