Added mehtod to check if two files is in same full path (i.e. package)