Initializing and adding files