Create variable to track which script processing function is supported

This is done in the same manner the `slice` method on file is
discovered in the file reader. I also changed the file reader class,
moving the slice function discovery out of the loop function so that it
only performs it once per file.