1- Reads all of the 3 parameters 2- Checks if the params are NULL 3- Reads the input text file 4- Creates a MAP filled with the text file content 5- Build a JSON / XML object 6- Export that object to ...