Now works with full path to the filename.