using getResource for files with relative path