try moved to prevent filenotfound exceptions