fixes #71 added method that returns the input file

improved documentation