Updated so that it can read it either from the home directory or from the current path