Fixed missing file extension errors