check package declaration to reflect file location