check for file existence to avoid all those _sub crashes