Removed tempfile requirement