removed unneeded check for absolute file path