use abspath for the file