class Source extends File {

  protected Resource bind(final ResourceManager resourceManager, final String importPath) {
    if (importPath.startsWith("./") || importPath.startsWith("../")) {
      final String location = getLocation();
      logger.trace("Location: {}", location);
      final String parent = getParentPath(getLocation());
      logger.trace("Parent: {}", parent);
      return resourceManager.getResource(append(parent, importPath));
    } else {
      return resourceManager.getPackage(importPath);
    }
  }

  public  Source(final Project project, final String location);

}