discover if the refactored file is part of apps directory