Update path of resource file to make it relative