Check if a file exist
pass const reference instead of value