add method to retrieve files by package name

@pypingou I thought this will enable us to retrieve all the information regarding a particular package. This might be needed later on.