Adjusted to use OctoPrint's isGcodeFileName, so future filetypes are less likely to be ignored.