Modified the file renderer function to be overridable
Added .py files to the file exclusion list