added File component and code documentation