add ability to find previous file in sequence