added comments to FileParser class and it's methods