resolve issue #12 and create a dictionary mapping file objects to their names

1. fixing issue #12

2. created a dictionary for mapping the file names with their corresponding objects, to gain performance on getmember function.