Resolution error if packages are different but file names and types have the same name #1043
relates to #1043: extract method and use original file