Removing unnecessary print statement, and adding a file_extensions string for regex purposes.