better file not found handling