LPS-43181 Validate filename before adding backgroud task