Updated getFrameRange

Changed variable file to path, so the keyword wasn't lost, and updated
documentation.