cut main application file