Make number of files const
Make acceptable motion percentage a constant