Fixing an issue when no files are being provided