added raise if file not found