Remove exception throwing in file create