Fixed file name in getResource method