Removed debug output
Fixed issue #1: "Null pointer exception on viewing file without file
extension"