Need some modification on updateInfo(String filename) method
Resolving switch-case issue