filepath ext returns .ext, return errors instead of log