added page changing
using full path names when dealing with files