added absolute path to file, added timer