extract getFile for getId and getDeps
fix deps parse

don't return relative path in dependent package