Extract and format documentation from file(s)