Added method to get the raw file from a plug-in directory.