Moved try_open and try_read_buffer from params.c to utils.c, as these are standard functions and params.c will be different for different user projects