Remove call to realPath for output file