adding file pseudocode