Added newest file function