Extracts function to a seperate file to make loading .bashrc script
faster