Changed getName to return the name of the movie and the year without the file extension, which is the expected behavior.