Parameter passing now works for GET request. Added argument to main method to allow specifying the file directory.