fix file name and add doc blocks