Add a file for shared functions