Created utils file to place utility functions.